<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div id="app"></div>
    <template id="t1">
      <div>
        <p>hello</p>
        <p>{{name}}</p>
      </div>
    </template>
    <script src="./vue.js"></script>
    <script>
      const vm = new Vue({
        data: {
          name: "jack",
        },
        el: "#app",
        template: "#t1",
        // template: html`<div> <p>hello</p> <p>{{name}}</p> </div>`,
      });
      console.log(vm);
    </script>
  </body>
</html>
